package com.partvoyage.client.mvp2.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;

public class LoadDataCarteEvent extends
		GwtEvent<LoadDataCarteEvent.LoadDataCarteEventHandler> {
	public static Type<LoadDataCarteEventHandler> TYPE = new Type<LoadDataCarteEventHandler>();

	public interface LoadDataCarteEventHandler extends EventHandler {
		void onLoadDataCarte(LoadDataCarteEvent event);
	}

	public LoadDataCarteEvent() {

	}

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<LoadDataCarteEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(LoadDataCarteEventHandler handler) {
		handler.onLoadDataCarte(this);

	}
}
